package com.iflytek.exam.service;

import java.util.List;
import com.iflytek.exam.domain.ExamTeacher;

/**
 * teacherExamService接口
 *
 * @author Dogdog
 * @date 2024-07-10
 */
public interface IExamTeacherService
{
    /**
     * 查询teacherExam
     *
     * @param id teacherExam主键
     * @return teacherExam
     */
    public ExamTeacher selectExamTeacherById(Long id);

    /**
     * 查询teacherExam列表
     *
     * @param examTeacher teacherExam
     * @return teacherExam集合
     */
    public List<ExamTeacher> selectExamTeacherList(ExamTeacher examTeacher);

    /**
     * 新增teacherExam
     *
     * @param examTeacher teacherExam
     * @return 结果
     */
    public int insertExamTeacher(ExamTeacher examTeacher);

    /**
     * 修改teacherExam
     *
     * @param examTeacher teacherExam
     * @return 结果
     */
    public int updateExamTeacher(ExamTeacher examTeacher);

    /**
     * 批量删除teacherExam
     *
     * @param ids 需要删除的teacherExam主键集合
     * @return 结果
     */
    public int deleteExamTeacherByIds(Long[] ids);

    /**
     * 删除teacherExam信息
     *
     * @param id teacherExam主键
     * @return 结果
     */
    public int deleteExamTeacherById(Long id);

    Long[] selectExamIds(Long userId);

    Boolean deleteExamTeacherByExamId(Long examId);
}
